package com.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsf
 * @since 2024-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_order")
public class ProductOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品订单id
     */
    @TableId(value = "product_order_id", type = IdType.ASSIGN_ID)
    private Long productOrderId;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 商品分类id
     */
    private Long productCategoryId;

    /**
     * 商品兑换类型id
     */
    private Long productPriceId;

    /**
     * 商品销量
     */
    private Integer productSalesVolume;

    /**
     * 订单创建时间
     */
    private LocalDateTime createTime;

    /**
     * 订单创建人
     */
    private String createUser;


}
